import request from '@/utils/request'

// 查询电池包绑定记录
export function listBindRecord(query) {
  return request({
    url: 'mes/vehicleControl/batteryBind/listBindRecord',
    method: 'get',
    params: query
  })
}

// 电池包绑定
export function bind(data) {
  return request({
    url: 'mes/vehicleControl/batteryBind/bind',
    method: 'post',
    data: data
  })
}
